package com.bot.rf.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

/**
 * @program: report-form-demo
 * @description: 统计信息Excel模板
 * @author: zyy
 * @create: 2021-02-25 14:38
 **/

@ContentRowHeight(18)
@HeadRowHeight(18)
@ColumnWidth(30)
@HeadFontStyle(fontHeightInPoints = 11, fontName = "等线")
@HeadStyle(horizontalAlignment = HorizontalAlignment.LEFT)
public class StatisticExcel {

    @ExcelProperty("RFID盘点总数")
    private Integer rfidTotalNums;

    @ExcelProperty("TAG异常数")
    private Integer tagTotalNums;

    @ExcelProperty("错架数")
    private Integer errorNums;

    @ExcelProperty("馆藏状态错误数")
    private Integer errorStatus;

    public Integer getRfidTotalNums() {
        return rfidTotalNums;
    }

    public void setRfidTotalNums(Integer rfidTotalNums) {
        this.rfidTotalNums = rfidTotalNums;
    }

    public Integer getTagTotalNums() {
        return tagTotalNums;
    }

    public void setTagTotalNums(Integer tagTotalNums) {
        this.tagTotalNums = tagTotalNums;
    }

    public Integer getErrorNums() {
        return errorNums;
    }

    public void setErrorNums(Integer errorNums) {
        this.errorNums = errorNums;
    }

    public Integer getErrorStatus() {
        return errorStatus;
    }

    public void setErrorStatus(Integer errorStatus) {
        this.errorStatus = errorStatus;
    }

    public StatisticExcel(Integer rfidTotalNums, Integer tagTotalNums, Integer errorNums, Integer errorStatus) {
        this.rfidTotalNums = rfidTotalNums;
        this.tagTotalNums = tagTotalNums;
        this.errorNums = errorNums;
        this.errorStatus = errorStatus;
    }
}
